package com.ten.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author ：王薪伟
 * @date ：Created in 2022/12/6 16:41
 * @description：
 * @modified By：
 * @version:
 */
@SpringBootApplication(scanBasePackages = {"com.ten.order", "com.ten.security","com.ten.common"})
@MapperScan("com.ten.order.dao")
@EnableSwagger2
@EnableFeignClients  //开启openfeign注解
public class OrderApp {
    public static void main(String[] args) {
        SpringApplication.run(OrderApp.class, args);
    }
}
